Skip to main content

Import

Usage

Parameters

toCurrency

string The target currency code (e.g., ‘EUR’, ‘GBP’, ‘JPY’). If ‘USD’ is provided, returns 1 as the conversion rate.

options

HooksOptions (optional)

Return Type

The hook returns a React Query result object: